package com.twu.biblioteca.Data;

import com.twu.biblioteca.Models.Book;

import java.util.HashMap;

/**
 * User: haruo
 * Date: 5/28/13
 */
public class BooksList {
    HashMap<String, Book> books;

    public BooksList() {
        books = new HashMap<String, Book>();
        books.put("001", new Book("001", "Title1", "Author1", 2001, 0));
        books.put("002", new Book("002", "Title2", "Author2", 2002, 1));
        books.put("003", new Book("003", "Title3", "Author3", 2003, 2));
        books.put("004", new Book("004", "Title4", "Author4", 2004, 3));
        books.put("005", new Book("005", "Title5", "Author5", 2005, 4));
        books.put("006", new Book("006", "Title6", "Author6", 2006, 5));
        books.put("007", new Book("007", "Title7", "Author7", 2007, 6));
        books.put("008", new Book("008", "Title8", "Author8", 2008, 7));
        books.put("009", new Book("009", "Title9", "Author9", 2009, 8));
        books.put("010", new Book("010", "Title10", "Author10", 2010, 9));
        books.put("011", new Book("011", "Title11", "Author11", 2011, 0));
    }

    public HashMap getBooks() {
        return books;
    }
}
